<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>translateTool</title>
        <link rel="stylesheet" href="./css/style.css" />
        <link rel="stylesheet" href="./css/interactive.css" />
    </head>
    <body>
        <!-- 左侧 -->
        <div class="left" id="dragBox" onselectstart="return false">
            <div class="tips">
                <div class="title" id="title">拖拽图片或PDF文件到此处</div>
                <p class="introduce">注意：图片格式仅支持jpg、png、jpeg、bmp、支持粘贴上传</p>
                <img class="image" />
            </div>
            <div id="example1" class="hide"></div>
        </div>
        <!-- 右侧 -->
        <div class="right">
            <div class="title">转换结果</div>
            <pre class="content" id="content"></pre>
            <div class="pagination hide" id="pagination"></div>
        </div>
        <!-- 引入artTemplate引擎 -->
        <script src="./js/plugin/template-web.js"></script>
        <!-- 定义art-template模板 -->
        <script type="text/html" id="artTemplate">
            {{ each result.content }}
            <span onclick="nextPage(this)" class="btnNum">{{ $index+1 }}</span>
            {{ /each }}
        </script>
        <!-- 引入PDFObject -->
        <script src="./js/plugin/pdfobject.min.js"></script>
        <!-- 引入脚本 -->
        <script src="./js/index.js"></script>
        <script src="./js/package.js"></script>
    </body>
</html>
